<!DOCTYPE html>
<html ng-app="myApp">

<head>
    <meta charset="utf-8">
    <script src="http://cdn.static.runoob.com/libs/angular.js/1.4.6/angular.min.js"></script>
</head>

<body>
    <div ng-controller="myCtrl">
        <p>{{x1}}</p>
        <p>{{x2}}</p>
        <button ng-click="count= count +1">OK</button>
        <p>{{count}}</p>
    </div>
    <script type="text/javascript">
        var app = angular.module('myApp', []);
        app.controller('myCtrl', ['$scope', function($scope) {
            $scope.x1 = "Fjq";
            $scope.x2 = angular.isString($scope.x1);
            $scope.count = 0;
        }]);
    </script>
</body>

</html>
